package com.roadjava.GDOUGym.service;

import com.roadjava.GDOUGym.bean.dto.PlaceDTO;
import com.roadjava.GDOUGym.bean.dto.RecordDTO;
import com.roadjava.GDOUGym.bean.entity.RecordDO;
import com.roadjava.GDOUGym.bean.res.ResultDTO;

import java.util.List;

public interface RecordService {
    ResultDTO<List<RecordDTO>> find(RecordDTO dto);
    ResultDTO<String> add(RecordDTO recordDTO);
    ResultDTO<String> change(RecordDTO recordDTO);
    ResultDTO<String> delete(RecordDTO recordDTO);

    ResultDTO<RecordDO> validateLogin(RecordDO param);
    ResultDTO<RecordDO> loginPhone(RecordDO param);
}
